<?php include(VIEWSPATH."/common/header.php") ?>

<script>
	$(document).ready(function() {
		$("#sel_type").val("<?php echo $type ?>");

		$("#price").html(FormatCurrency($("#price").html()));
	});
</script>
<style>
	table.view td{
		text-align:left;
	}
</style>
<table align="center" class="view">
	
	<tr>
		<td width="100"><?php echo lang('price')?> </td>
		<td>
			<span id="price"><?php echo $price ;?></span> <span class="money">VNĐ</span>
		</td>
	</tr>
	<tr>
		<td width="100"><?php echo lang("note")?> </td>
		<td>
			<?php echo $note ;?>
		</td>
	</tr>
	<tr>
		<td width="100"><?php echo lang('image')?> </td>
		<td>
			<div id="div_img">
				
				<img class ="img_small" src="<?php echo base_url('/assets/image/aodai/'.($id %10)."/big_".$image); ?>"></img>
				<!-- <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo base_url('product/view/').$id ?>&amp;layout=standard&amp;show_faces=true&amp;width=400&amp;action=like&amp;font=segoe+ui&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:400px; height:px"></iframe>-->
				<fb:like href="<?php echo base_url('product/view/').$id ?>" layout="standard" show-faces="true" width="450" heigth="20" action="like" colorscheme="light" />				
			</div>
			
		</td>
	</tr>
	<tr >
		
		<td colspan="2"  style="text-align:center">	
			<input type="button" name="btn_edit" id="btn_buy" value="<?php echo lang('buy') ?>" onclick="redirect_page('<?php echo base_url('user/giohang')."?ma_aodai=" . $id ."&giatien=".$price?>')"></input>
		</td>
	</tr>
</table>

<?php include(VIEWSPATH."/common/footer.php") ?>